package br.com.cultbook.service;

import java.io.Serializable;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

@Stateless
public abstract class CultBookService implements Serializable{

	private static final long serialVersionUID = 1L;
	@PersistenceContext(unitName = "cultbook")
	protected EntityManager em;
	
	public EntityManager getEntityManager(){
		return this.em;
	}
}
